package net.sesami.nhg.ebd.batch;

import net.sesami.nhg.ebd.batch.service.COService;
import net.sesami.nhg.ebd.batch.service.POService;

public class Main {
	private POService poService = new POService();
	private COService coService = new COService();

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
		Main main = new Main();
		main.genereatePOXMLs();
		main.genereateCanceledPOXMLs();
		main.coService.generateCOXMLs();
	}

	public void genereatePOXMLs() {
		poService.generatePOXMLs();
	}

	public void genereateCanceledPOXMLs() {
		poService.generatePOXMLsForCanceled();
	}
}
